package com.msteam;

import com.jfinal.plugin.activerecord.ActiveRecordPlugin;
import com.msteam.tools.code.model.*;
import com.msteam.tools.report.model.*;

/**
 * Created by Administrator on 2017/9/7.
 */
public class _MappingKit {

    public static void mapping(ActiveRecordPlugin arp) {
        arp.addMapping("CBH_COLUMN", "ID", CbhColumn.class);
        arp.addMapping("CBH_PROJECT", "ID", CbhProject.class);
        arp.addMapping("CBH_TABLE", "ID", CbhTable.class);
        arp.addMapping("CBH_TEMPLATE", "ID", CbhTemplate.class);
        arp.addMapping("CBH_TEMPLATE_FILE", "ID", CbhTemplateFile.class);
        arp.addMapping("RPT_DATASOURCE", "ID", RptDatasource.class);
        arp.addMapping("RPT_DATASOURCE_FILTER", "ID", RptDatasourceFilter.class);
        arp.addMapping("RPT_DATASOURCE_PARAM", "ID", RptDatasourceParam.class);
        arp.addMapping("RPT_FILTER_DEFINE", "ID", RptFilterDefine.class);
        arp.addMapping("RPT_PARAM_DEFINE", "ID", RptParamDefine.class);
        arp.addMapping("RPT_REPORT", "ID", RptReport.class);
        arp.addMapping("RPT_REPORT_DATASOURCE", "ID", RptReportDatasource.class);
        arp.addMapping("RPT_REPORT_DATASOURCE_FILTER", "ID", RptReportDatasourceFilter.class);
        arp.addMapping("RPT_TEMPLATE", "ID", RptTemplate.class);


    }
}
